package main;

public class Building {

	public int id;
	public int x;
	public int y;
	public int h;

	private int xPos;
	private int yPos;

	public Building(int id, int x, int y, int h) {
		super();
		this.id = id;
		this.x = x;
		this.y = y;
		this.h = h;
	}

	public void setxPos(int xPos) {
		this.xPos = xPos;
	}

	public void setyPos(int yPos) {
		this.yPos = yPos;
	}
	
	public int getXPos() {
		return xPos;
	}
	
	public int getYPos() {
		return yPos;
	}

	@Override
	public String toString() {
		return "Building [id=" + id + ", x=" + x + ", y=" + y + ", h=" + h + ", xPos=" + xPos + ", yPos=" + yPos+ "]";
	}

	public String printPos() {
		return id + ":  " + xPos + " " + yPos;
	}

}
